<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        var arr=[1,3,4,6,7,8,11,12,15,16,19,20];
        var arry=[];
        for(i=0;i<arr.length;i++){
            if(arr[i]%2===1){
                arry.push(arr[i])
            }
        }
        console.log(arry);
    </script>
</body>
</html>